package stu.aistar.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import stu.aistar.model.pojo.Hall;

import javax.persistence.criteria.CriteriaBuilder;
import java.util.List;

@Mapper
public interface HallMapper {

    @Select("select *from hall where ciname_id = #{cid}")
    List<Hall> findByCid(@Param("cid") Integer cid);
}
